<%@ page language="java" pageEncoding="UTF-8"%>
<%@ taglib uri="/struts-tags" prefix="s"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>

<c:if test="${empty visitor ||visitor.adminGrade > 0}">
	<c:redirect url="wel!welcome.z" />
</c:if>

<head>
	<title>数据输入输出</title>
	<script type="text/javascript">
	jq( function() {
		jq("button.valid").parents("form").validate( {
			rules : {
				"files" : {required : true}
			}
		});
	});
</script>
</head>

<body>
	<fieldset>
		<legend>
			导入备份的zip文件:
		</legend>
		<form id="upload" method="post" action="zup!importZip.z"
			enctype="multipart/form-data">
			<input type="file" name="files" id="files" />
			<br />
			<button type="submit" class="valid">
				上传Excel文件并导入
			</button>
		</form>
	</fieldset>

</body>
